package userr

import (
	"github.com/gin-gonic/gin"
	"zk2/internal/handler"
)

func UserRouter(group *gin.RouterGroup) {
	userHandler := handler.NewUserHandler()
	group.POST("/register", userHandler.Register)
	group.POST("/login", userHandler.Login)
}
